package MovieGuessingGame.Database;

import java.util.Arrays;

public class PlayerRecord {
	public PlayerRecord(boolean playing, String name, byte[] hash, int score, int totalWins) {
		super();
		this.playing = playing;
		this.name = name;
		this.hash = hash;
		this.score = score;
		this.totalWins = totalWins;
	}
	private boolean playing; 
	private String name; 
	private int totalWins;
	public int getTotalWins() {
		return totalWins;
	}
	public void setTotalWins(int totalWins) {
		this.totalWins = totalWins;
	}
	public boolean isPlaying() {
		return playing;
	}
	public void setPlaying(boolean playing) {
		this.playing = playing;
	}
	@Override
	public String toString() {
		return "PlayerRecord [playing=" + playing + ", name=" + name
				+ ", totalWins=" + totalWins + ", hash="
				+ Arrays.toString(hash) + ", score=" + score + "]";
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public byte[] getHash() {
		return hash;
	}
	public void setHash(byte[] hash) {
		this.hash = hash;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	private byte[] hash; private int score;
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
